<!DOCTYPE html>
<html>
<head>
	<title>用户列表</title>
	<meta name="viewport" charset="utf-8" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="/css/pages/public.css">
	<link rel="stylesheet" type="text/css" href="/css/pages/user/list.css">
</head>
<body>
	@if(count($users) == 0)
	<div class="null_div">
		暂时无用户数据
	</div>
	@else
	<div class="search_div">
		<div class="search_input">
			<input type="text" name="" placeholder="请输入姓名">
			<div class="search_btn">
				<img src="/images/search_btn.png">
			</div>
		</div>
	</div>
	<div class="user_list">
		<ul>
			@foreach($users as $user)
			<a href="/user/info?id={{ $user['id'] }}">
				<li>
					<div class="headimg_div">
						<img src="{{ $user['headimgurl'] }}">
					</div>
					<div class="name_div">
						{{ $user['wechatUserInfo']['name'] }}
					</div>
				</li>
			</a>
			@endforeach
		</ul>
	</div>
	@endif
</body>
</html>